import request from '@/utils/request'

export const getGoodsList = (obj) => {
  const { categoryId, goodsName, page } = obj
  return request({
    url: '/goods/list',
    method: 'get',
    params: {
      categoryId,
      goodsName,
      page
    }
  })
}
